:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #4cc9f0;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
  --border-color: #dee2e6;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: #f5f7fa;
  color: var(--dark-color);
  line-height: 1.6;
}

.app-container {
  padding-top: 80px;
  min-height: 100vh;
}

.app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 修复首页样式 */
.home-hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #f8faff 0%, #e8f0fe 100%);
  margin-top: -20px;
  position: relative;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.home-section {
  padding: 60px 0;
}

.card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: white;
  padding: 10px 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-brand svg {
  vertical-align: middle;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  margin: 0 5px;
  display: flex;
  align-items: center;
}

.nav-link.active {
  color: var(--primary-color);
}

.nav-link svg {
  margin-right: 5px;
}

/* 导航栏固定顶部后的样式 */
.navbar.scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.section-title {
  border-left: 4px solid var(--primary-color);
  padding-left: 10px;
  margin-bottom: 20px;
}

.credential-card {
  border-left: 4px solid var(--primary-color);
}

.credential-card.revoked {
  border-left: 4px solid var(--danger-color);
}

.credential-card.expired {
  border-left: 4px solid var(--warning-color);
}

.status-badge {
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.active {
  background-color: rgba(76, 175, 80, 0.2);
  color: var(--success-color);
}

.status-badge.revoked {
  background-color: rgba(244, 67, 54, 0.2);
  color: var(--danger-color);
}

.status-badge.expired {
  background-color: rgba(255, 152, 0, 0.2);
  color: var(--warning-color);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
} 